函式模板
<random>

std::關係運算符

相等 (1)
template <class RealType>bool operator== ( const weibull_distribution<RealType>& lhs,                  const weibull_distribution<RealType>& rhs );
不等 (2)
template <class RealType>bool operator!= ( const weibull_distribution<RealType>& lhs,                  const weibull_distribution<RealType>& rhs );
關係運算符
weibull_distribution 物件 lhsrhs 執行相應的相等或不等比較操作。

如果兩個分佈具有相同的引數和相同的內部狀態(如果有的話),當使用相等的生成器呼叫它們的 operator() 時,它們會產生相同的隨機數序列,則這兩個分佈相等。

引數

lhs, rhs
weibull_distribution 物件(分別位於運算子的左側和右側),它們都具有相同的模板引數(IntType).

返回值

true如果條件成立,則為 true,並且false否則為 false。

另見